
package com.netease.xone.itemview;

import com.netease.xone.R;

import db.manager.ManagerAccount;

import protocol.meta.User;
import android.content.Context;
import android.view.View;
import android.widget.TextView;

/**
 * 继承自RenderFansView，比FansView多一个其他描述
 * @author MR
 *
 */
public class RenderFindFriendsView extends RenderFansView{

    private TextView otherDesc;

    public RenderFindFriendsView(View v) {
        super(v);
        otherDesc = (TextView)v.findViewById(R.id.user_other_desc);
        otherDesc.setVisibility(View.VISIBLE);
    }

    @Override
    public void renderView(Context context, User user) {
        super.renderView(context, user);
        otherDesc.setText(user.reason);
    }

}
